]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
autorun: use the new "media-removable" icon
authorCosimo Cecchi <cosimoc@gnome.org>
Tue, 30 Aug 2011 19:17:47 +0000 (15:17 -0400)
committerCosimo Cecchi <cosimoc@gnome.org>
Tue, 30 Aug 2011 19:30:10 +0000 (15:30 -0400)
gnome-icon-theme recently added this icon for removable devices.

https://bugzilla.gnome.org/show_bug.cgi?id=657757

js/ui/autorunManager.js

index 2eb2bddafdd2ef6822a0b556ebb1b3c4c2327311..b897393a119052b53ae4a87def1b8b9a3a3dcfcd 100644 (file)
@@ -330,7 +330,8 @@ AutorunResidentSource.prototype = {
     },
 
     createNotificationIcon: function(iconSize) {
-        return new St.Icon ({ icon_name: 'drive-harddisk',
+        return new St.Icon ({ icon_name: 'media-removable',
+                              icon_type: St.IconType.FULLCOLOR,
                               icon_size: iconSize ? iconSize : this.ICON_SIZE });
     }
 }